/**
 *  *2010-6-15 上午01:22:09  add 
 */
package com.base.myproject.client.tools;

import java.io.Serializable;
import java.util.HashMap;

/**
 * 传入宏执行sqltable定义 sql语句，
 * @author Administrator
 *2010-6-15
 * javazgw@gmail.com
 */
public class CommandSyncExeSql extends CommandSync implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8009373133235365724L;
	String sqlname="";//sql定义的名字
	HashMap<String,String> hm =new HashMap<String,String >();//放入宏定义
	public CommandSyncExeSql()
	{
		commandname="_EXESQL";
		
	}
	public void putmacro(String key,String macro)
	{
		hm.put(key, macro);
	}
	public String getMacro(String key)
	{
		return hm.get(key);
	}
	public String getSqlname() {
		return sqlname;
	}

	public void setSqlname(String sqlname) {
		this.sqlname = sqlname;
	}

	public HashMap<String, String> getHm() {
		return hm;
	}

	public void setHm(HashMap<String, String> hm) {
		this.hm = hm;
	}

}
